home *** CD-ROM | disk | FTP | other *** search
-
- Appendix
-
- A. Where can I find CJK?
- B. Where is the Aminet?
- C. Where can I find Chinese software?
- D. What Chinese software is available for the Amiga?
- In particular, text editors and text viewers?
- E. Where are the Chinese fonts?
- F. How do I install CJK?
-
- A. Where can I find CJK? (extracted from CJK's readme file)
-
- o You will find CJK and software related to TeX at the CTAN hosts
- (Comprehensive TeX Archive Network). These completely identical ftp
- servers (concerning TeX software) are
-
- ftp.shsu.edu Sam Houston University
- Texas (USA)
- ftp.dante.de DANTE (Deutsche Anwendervereinigung fuer TeX)
- Heidelberg (Germany)
- ftp.tex.ac.uk Cambridge University
- Cambridge (England)
-
- You should use the nearest one, or even better, a local mirror of
- a CTAN host.
-
- CJK will be found unpacked. To receive the complete package, go to the
- parent directory of CJK and say
-
- get CJK.zip
- or (whichever is appropriate for your system)
- get CJK.tar.gz
-
- The CJK directory and all subdirectories will be sent to you in
- compressed form. Be aware that not all mirrors of CTAN sites support
- compression of directories.
-
- Australian users, note that goanna.cs.rmit.oz is the local CTAN site.
-
- B. What is the Aminet?
-
- The Aminet is currently THE place to get Amiga software on
- the Internet. Its sites include...
-
- wuarchive.wustl.edu (the original site, I think. You can
- get REALLY old stuff from here. This is not so useless
- as one might think. It is one of the few Aminet sites
- where you can still get LhA 1.38!)
-
- ftp.cdrom.com (almost completely up-to-date, very
- popular, and often rather slow...)
-
- ftp.luth.se (a European site)
-
- ftp.netnet.net
-
- archie.au (an Australian site, usually months behind...)
-
- All these sites have a SITES file, which lists other
- Aminet sites...
-
- Typically, the Aminet files are in the /pub/aminet directory.
- The first `/' tells the file-server to start looking from the
- root-directory, just like `:' on the Amiga, in some ways.
-
- If you don't have Internet access, Aminet files are also
- available on several CD-ROMs. These `Aminet' CD-ROMs are being
- released at a regular rate. Fred Fish CD-ROMs also largely
- consist of Aminet files these days. In addition, he also
- often includes GNU GCC and PasTeX on his CD-ROMs. In fact,
- even though I have Internet access, I always look on my local
- BBS's CD-ROMs first. Downloading from a `local' site is
- always much fast, and will soon be cheaper, than accessing
- overseas sites...
-
- C. Where can I find Chinese software? (based on chinese-text faq
- by Ya-Gui Wei v15.3 19-Feb-94).
-
- A small amount of Chinese software for the Amiga can be found
- on the Internet. There is plenty more software for the IBM
- and Mac! Of course, if you are prepared to re-compile
- everything, all that Unix software is available for the
- Amiga...
-
- (Now quoting from the faq)
-
- [If you have problems using the programs listed below, you
- could seek assistance from (1) local users; (2) fellow
- alt.chinese.text netters; (3) software authors. The FAQ
- maintainer most probably can't help you.]
-
- (David Fong - I don't personally subscribe to alt.chinese.text)
-
- [FTP mirror sites: the software available on ifcss.org can
- also be obtained from the following mirror sites:
-
- nctuccca.edu.tw:Chinese/ifcss.org/software
- cnd.org:pub/ifcss.org/software.
- (David Fong - and ftp.edu.tw, I think)
-
- If ifcss.org is slow, you may want to try these sites.]
-
- (end quote)
-
- ifcss.org seems to be closed down. cnd.org, however, is open.
-
- D. What Chinese software is available for the Amiga?
- In particular, text editors and viewers?
-
- Here are some file descriptions from ftp.edu.tw
-
- In directory Amiga/editor (within the Chinese programs
- section...)
-
- AMIGA:EDITOR
-
- software: CHText
- version : 0.1
- function: A rough, but functional port of CHText editor from the CHTex
- package to the Amiga. No graphics, only text characters. Uses
- pinyin input. Creates GB output files. Should function on any
- Amiga system. Usage: chtext -e <file>
- ftp site: ifcss.org [129.107.1.153]:/software/amiga/editor
- filename: chtxtexe.lha chtxtsrc.lha
- get /software/fonts/gb/hbf/cclib.16 and rename to cclib16jt
- author : Jingbai Wang (unknown address) port by Curtis Eubanks
-
- David Fong - Curtis does not distribute complete
- documentation. The source and documentation for this program
- is available at CTAN sites. The CTAN CHText distribution
- also includes the `cclib.16', appropriately renamed to
- cclib16jt. Curtis provides source code as well, great if you
- would like to open something other than a 640x200 screen!
-
- AMIGA:VIEWER
-
- software: HZView
- version : 0.1
- function: Amiga viewer for Guobiao (GB) encoded text. Requires 2.0 ROMs.
- ftpsite : ifcss.org [129.107.1.153]:/software/amiga/viewer
- filename: hzview.lha, also get /software/fonts/gb/hbf/cclib.16
- author : Ma, Ji
-
- David Fong - Ji Ma admits that this software is `dirty', it
- doesn't work on my Amiga 1200 (KS 3.0).
-
- E. Where do I find Chinese fonts?
-
- `ifcss.org' is the usual answer, but I used cnd.org.
-
- F. How do I install CJK?
-
- I think Sam Chiu actually explains the process better than
- CJK's aurthor. Sam Chiu is also responsible for a 600dpi
- LaTeX Chinese font collection. Here I selectively quote an
- article written by Sam Chiu <ccc11@cus.cam.ac.uk>, 26 Oct
- 1994.
-
- At present, four sizes are available for 600dpi printers,
- corresponding to size-changing commands \normalsize, \large,
- \Large and \LARGE in 10pt document class. See below for info
- on generating other fonts, or fonts at other sizes/
- resolutions.
-
- ... (Then follows a list of those 600dpi fonts. You'll need
- quite a few megabytes of hard-drive space to store them!)...
-
- Using the b5ka10 and gsfs10 fonts (David - 600 dpi version)
- ---------------------------------
-
- 1. It is assumed that LaTeX2e is properly installed on your
- system, and that you are reasonably familiar with it. It is
- also assumed that you have access to a 600dpi printer. Read
- the instructions below to generate fonts for 300dpi printers.
-
- 2. Install the CJK package (version 2.2), found at ifcss.org
- (directory software/tex) or any CTAN site. The most
- essential files for the Chinese part are:
-
- CJK.sty
- CJK.enc
- Bg5.chr (presumably if you want Bg5 encoding)
- Bg5.enc (if you want to use GuoBiao, I think you
- ignore the Bg5 files).
- standard.chr
- standard.eng
-
- They should be put in a place where LaTeX2e can find them as
- input files (set TEXINPUTS).
-
- 3. Put the following files from this directory into the
- $TEXINPUTS directory:
-
- UBg5.fd
- UGBs.fd
-
- These are different from the font definition files
- distributed with the CJK 2.2 package. The changes are
- obvious and it is relatively easy to modify them again for
- other fonts and sizes.
-
- (David Fong - again, if you are using GBs or GBt, you can
- probably ignore the Bg5 file. `s' stands for simplified, `t'
- for traditional, as far as I can gather. You will need to
- edit the GBs and GBt to `point' to the fonts you actually
- have).
-
- 4. Install the .tfm files in a place where LaTeX2e looks for
- its font metric files (set TEXFONTS). These are distributed
- in .tar.gz format. So use:
-
- % zcat b5ka10.tfm.tar.gz | tar -xf -
- % zcat gsfs10.tfm.tar.gz | tar -xf -
-
- 5. Install the .pk files in a place where xdvi and dvips
- look for their .pk files (set XDVIFONTS and TEXPKS).
- Uncompress and extract by zcat and tar as above.
-
- If you can't afford to store the fonts at all sizes, pick the
- ones you need (say the 600pk \normalsize fonts) and modify
- the .fd files accordingly to reflect the fact the you do not
- have other sizes available.
-
- 6. Edit your LaTeX source file with your favourite text
- editor. On X-Windows systems, emacs19 with the cemacs
- package running under cxterm works well. Read the
- documentation that comes with the CJK package for use of the
- CJK environment.
-
- (David Fong - I didn't edit the LaTeX source file, it seems to
- work anyway...)
-
- Of course, you need to compose your source file in GB
- encoding if you intend to use the gsfs font, or Big5 encoding
- if you intend to use the b5ka font. There exists utility
- programs to convert between the two. Check the archive at
- ifcss.org.
-
- (David Fong - huh? I think he means just edit the .fd files
- as noted above.)
-
- 7. Process, preview and printing:
-
- % latex2e yourfile.tex
- % xdvi -p 600 yourfile.dvi (to preview .dvi file)
- % dvips -D 600 -o yourfile.ps yourfile.dvi (or send directly to printer)
- % ghostview yourfile.ps (to preview .ps file)
- % lpr -Pprinter yourfile.ps (send to a 600dpi printer)
-
- To preview the dvi file with 600dpi fonts, be sure to specify the
- -p 600 option and set the XDVIFONTS path to load the 600dpi fonts,
- both for Chinese and English fonts. Otherwise xdvi will complain
- with a loud noise.
-
- (David Fong - of course, the above is very much
- implementation dependent. I suggest you find out how to
- create English LaTeX documents before you create Chinese
- documents!)
-
-
- Generating other fonts, or fonts at different sizes and resolutions
- -------------------------------------------------------------------
-
- It is not difficult to generate your own fonts of different styles,
- sizes and resolutions. The following is the procedure we used:
-
- 1. Fetch a copy of the source files of the hbf2hbf and
- hbf2cjk programs, distributed as part of the CJK 2.2 package.
- Build the two programs, using the Makefiles supplied. Read
- the instructions that come with the programs.
-
- 2. Fetch the bitmap file and the hbf definition file for the
- font your wish to use. Check out ifcss.org under software/
- fonts.
-
- 3. Convert the HBF font files by hbf2hbf into a form hbf2cjk
- can understand. Syntax: hbf2hbf font_name original_hbf_file
-
- % hbf2hbf jsfs10 jfs56.hbf
-
- Then run hbf2cjk to generate the .pk files. It takes about
- 2 hours to generate one set of GB fonts (at one magnification) on a
- SparcStation 10. You may wish to submit it as a background job.
- Syntax: hbf2cjk new_hbf_file font_name resolution family coding
-
- % nice -19 hbf2cjk jsfs10.hbf jsfs10 300 "Jianti FangSong" GB &> log &
-
- 4. Move all the .pk files to your $TEXPKS directory, and the
- .tfm files to your $TEXFONTS directory. Note that only one
- set of .tfm files is needed for one style of characters at
- different sizes --- they are all the same.
-
- Known problem
- -------------
-
- There is one odd instance of mismatched character discovered
- so far: the character "se4" as in "yan2 se4" (colour) in the
- gsfs font. It is not exactly in fangsong style, and is
- raised above the normal baseline. Partial solution:
-
- \newcommand {\se} {\raisebox{-1pt}{xx}}
-
- where xx is the GB code of the character "se4".
-
- (end of lengthy quote)
-